package ywxt.tool.stool.service.impl

import org.springframework.stereotype.Service
import reactor.core.publisher.Flux
import reactor.core.publisher.Mono
import ywxt.tool.stool.model.PoemModel
import ywxt.tool.stool.model.PoetModel
import ywxt.tool.stool.repository.PoemRepository
import ywxt.tool.stool.repository.PoetRepository
import ywxt.tool.stool.service.PoemService

@Service
class PoemServiceImpl(
    private val poemRepository: PoemRepository,
    private val poetRepository: PoetRepository
) : PoemService {
    override fun getPoem(id: String): Mono<PoemModel> {
        TODO()
    }

    override fun getPoemsByDynasty(dynasty: String): Flux<PoemModel> {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun getPoemsByPoet(poetId: String): Flux<PoemModel> {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun getPoemsByName(name: String): Flux<PoemModel> {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun getPoet(id: String): Mono<PoetModel> {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun getPoetsByName(name: String): Flux<PoetModel> {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }
}